package com.nwpu.coursesupport.realm;

import org.apache.shiro.authc.UsernamePasswordToken;

import com.nwpu.coursesupport.enumeration.RoleType;

public class CustomizedToken extends UsernamePasswordToken {

	private RoleType roleType;

	private int id;
	private String name;
	private String image;

	public CustomizedToken(final String username, final String password, RoleType roleType) {
		super(username, password);
		this.roleType = roleType;
	}

	public RoleType getRoleType() {
		return roleType;
	}

	public void setRoleType(RoleType roleType) {
		this.roleType = roleType;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
	
}
